/**
 * Emulated extensible enum using an interface
 * 使用接口模拟可扩展枚举
 */
public interface IOperation {
    double apply(double x, double y);
}
